home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Applications
/
Python 1.3.3
/
Python 133 SRC
/
Mac
/
Modules
/
win
/
winedit.py
next >
Wrap
Text File
|
1995-11-15
|
2KB
|
99 lines
# These are inline-routines/defines, so we do them "by hand"
#
f = Method(CGrafPtr, 'GetWindowPort',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'SetPortWindowPort',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(short, 'GetWindowKind',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'SetWindowKind',
(WindowRef, 'theWindow', InMode),
(short, 'wKind', InMode),
)
methods.append(f)
f = Method(Boolean, 'IsWindowVisible',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(Boolean, 'IsWindowHilited',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(Boolean, 'GetWindowGoAwayFlag',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(Boolean, 'GetWindowZoomFlag',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'GetWindowStructureRgn',
(WindowRef, 'theWindow', InMode),
(RgnHandle, 'r', InMode),
)
methods.append(f)
f = Method(void, 'GetWindowContentRgn',
(WindowRef, 'theWindow', InMode),
(RgnHandle, 'r', InMode),
)
methods.append(f)
f = Method(void, 'GetWindowUpdateRgn',
(WindowRef, 'theWindow', InMode),
(RgnHandle, 'r', InMode),
)
methods.append(f)
f = Method(short, 'GetWindowTitleWidth',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(ExistingWindowPtr, 'GetNextWindow',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'GetWindowStandardState',
(WindowRef, 'theWindow', InMode),
(Rect, 'r', OutMode),
)
methods.append(f)
f = Method(void, 'GetWindowUserState',
(WindowRef, 'theWindow', InMode),
(Rect, 'r', OutMode),
)
methods.append(f)
f = Method(void, 'SetWindowStandardState',
(WindowRef, 'theWindow', InMode),
(Rect, 'r', InMode),
)
methods.append(f)
f = Method(void, 'SetWindowUserState',
(WindowRef, 'theWindow', InMode),
(Rect, 'r', InMode),
)
methods.append(f)